<!doctype html>  
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title>Treat pouch - a backpage clone on App Engine</title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="shortcut icon" href="../favicon.ico">
  <link rel="apple-touch-icon" href="../apple-touch-icon.png">
  <link rel="stylesheet" href="../css/style.css?v=2">
  <link rel="stylesheet" type="text/css" href="../css/jHtmlArea.css" />

  <!-- Uncomment if you are specifically targeting less enabled mobile browsers
  <link rel="stylesheet" media="handheld" href="css/handheld.css?v=2">  -->
 
  <script src="../js/libs/modernizr-1.6.min.js"></script>

</head>

<body>

  <div id="container">
    <header>
		<h1>Treat pouch</h1>
		<p>User: {{ nickname.nickname }} <a href="{{ logout }}">Sign out</a></p>
    </header>
    
    <div id="main" class="clearfix">
		<div class="right">
				<h4>Your pages</h4>
                <div class="treats"><img src="../images/ajax-loader.gif" class="ajax" /></div>
		</div>
		<div class="left">
		<h5>Add a new page</h5>
		<form method="post" id="new">
            <input id="title" name="title" /><br />
			<textarea id="page" rows="20" cols="80" name="page">
			</textarea>
			<br />
			<input id="save" type="submit" value="Save" /><img src="../images/ajax-loader.gif" class="ajax" style="display:none;" />
		</form>
		</div>
		
    </div>
    
    <footer>
		<p>&copy; Keir Kettle 2011</p>
    </footer>
  </div> <!--! end of #container -->


  <!-- Grab Google CDN's jQuery.-->
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.js"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
  <script type="text/javascript" src="../js/libs/jHtmlArea.kk.min.js"></script>
  <script src="../js/plugins.js"></script>
  <script src="../js/script.js"></script>
  
</body>
</html>
